<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <h1>JS</h1><hr>
    <script>
        // console.log(n5);   按照顺序要求写
    </script>
    <script>
        var a = 'JSASFAS';
        var n1='asd',n2 = '21',n3 = 'asdasda'; // 连续定义
        var n4=n5=n6='adskjd'; //连续定义

        // ES6 let/const..
        console.log(a);
        // console.log(变量);
        console.log(n3);
        console.log(n6);

    </script>
    
</body>
</html>